package com.situ.company.department.model;

import com.situ.company.util.PagerModel;

//面向对象开发

//实体层--实体类（model/bean/pojo/entity/vo）
//1-私有属性变量
//2-共有属性方法

//访问修饰符：
//public可以在工程任意文件中引入使用
public class DepartmentModel extends PagerModel {
    // private仅能在当前类体中使用
    private String code;
    private String name;
    private String tel;

    private long count;

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public DepartmentModel(String code, String name, String tel) {
        this.code = code;
        this.name = name;
        this.tel = tel;
    }

    public DepartmentModel(String code) {
        this.code = code;
    }

    public DepartmentModel() {
    }

}
